/**
 * 表格配置
 * 用户管理删除 user-manage-delete
 */
const headerConfig = {
  'user-manage-delete': [
    {
      prop: 'fullName',
      name: '姓名',
      minWidth: 100
    },
    {
      prop: 'userName',
      name: '用户名',
      minWidth: 100
      // sortable: 'custom'
    },
    {
      prop: 'deptName',
      name: '所属机构',
      minWidth: 100
    },
    {
      prop: 'roleName',
      name: '角色',
      minWidth: 100
    },
    {
      prop: 'position',
      name: '职位',
      minWidth: 100
    },
    {
      prop: 'mobilePhone',
      name: '手机号码',
      minWidth: 100
    },
    {
      prop: 'email',
      name: '邮箱',
      minWidth: 100
    },
    {
      name: '操作',
      width: 100,
      fixed: 'right',
      thStyle: { 'text-align': 'left' },
      operateList: [
        {
          type: 'btnText',
          label: '永久删除',
          id: 'user-manage-delete-thoroughDelete',
          authId: 'grass-core:user:thoroughDelete',
          config: {
            type: 'text'
          }
        }
      ]
    }
  ]
}

export default {}
export { headerConfig }
